<div ng-include="'html/component/nav.html'" ng-controller="NavCtrl"></div>
<ul class="set_item" ng-include="'html/component/left_nav.html'" ng-controller="CunhuoNavCtrl">
</ul>
<div class="set_box">
  <h1 class="set_title"><!--调入单-->{{language.TIPS_INVENTORY_FOLD_ORDER}}<span class="title_btn_group"> 
  <a class="title_btn" href="javascript:void(0);" ng-show="purview['\/CunhuoDiaoboListCtrl\/search'].show == 1" ng-click="search();" ><!--查询-->{{language.ACT_INQUIRE}}</a></span></h1>
  <div class="set_cont list_page" >
    <table class="list_table">
      <thead>
        <tr>
          <th><!--单据编号-->{{language.TIPS_INVENTORY_DOC_CODE}}</th>
          <th><!--数量-->{{language.TIPS_INVENTORY_NUM}}</th>
          <th><!--金额-->{{language.TIPS_INVENTORY_MONEY}}</th>
          <th><!--时间-->{{language.TIPS_INVENTORY_TIME}}</th>
          <th><!--状态-->{{language.TIPS_INVENTORY_STATUS}}</th>
        </tr>
      </thead>
      <tbody ng-repeat="i in diaoru_list | orderBy:'key':true">
        <tr class="date_num">
          <td class="date" colspan="4"><!--日期-->{{language.TIPS_INVENTORY_DATE}}：{{i.key}}</td>
          <td class="num"><span>{{i.value.length}}</span></td>
        </tr>
        <tr class="list_unit"  ng-repeat="diaoru in i.value track by $index" >
          <td><a ng-href="#/cunhuo/diaoru_detail/{{diaoru.record_code}}">{{diaoru.record_code}}</a></td>
          <td>{{diaoru.num}}</td>
          <td>{{diaoru.money|number:2}}</td>
          <td>{{diaoru.lastchanged}}</td>
          <td ng-show="is_lqx">{{diaoru.is_sure|check_is_sure}}{{diaoru.is_shift_out|check_is_allocate}}{{diaoru.is_shift_in|check_is_stock_in}}</td>
          <td ng-show="!is_lqx">{{diaoru.is_sure|check_is_sure}}</td>
        </tr>
      </tbody>
    </table>
    <div class="btn_more"><button class="btn" ng-click='scoll.nextpage();' ng-show="is_show"></button></div>
  </div>
</div>
